package com.ruoyi.energy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 车位租赁对象 omp_tc_parking_lease
 *
 * @author cjie
 * @date 2021-07-29
 */
@Data
@ApiModel
public class TcParkingLease extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 车牌号 */
    @Excel(name = "车牌号")
    @ApiModelProperty(value = "车牌号")
    private String carNum;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    @ApiModelProperty(value = "车辆类型")
    private String carType;

    /** 租赁周期 */
    @Excel(name = "租赁周期")
    @ApiModelProperty(value = "租赁周期")
    private String leaseCycle;

    /** 租赁人 */
    @Excel(name = "租赁人")
    @ApiModelProperty(value = "租赁人")
    private String leaseholder;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @ApiModelProperty(value = "联系方式")
    private String phone;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始日期")
    private Date beginDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束日期")
    private Date endDate;

    /** 车位Id */
    @Excel(name = "车位Id")
    @ApiModelProperty(value = "车位Id")
    private String parkingId;

    /** 房屋Id */
    @Excel(name = "房屋Id")
    @ApiModelProperty(value = "房屋Id")
    private String roomId;

    /** 单元Id */
    @Excel(name = "单元Id")
    @ApiModelProperty(value = "单元Id")
    private String unitId;

    /** 楼栋Id */
    @Excel(name = "楼栋Id")
    @ApiModelProperty(value = "楼栋Id")
    private String buildingId;

    /** 园区Id */
    @Excel(name = "园区Id")
    @ApiModelProperty(value = "园区Id")
    private String parkId;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    //以下属性为页面视图属性
    /** 车位编号 */
    @Excel(name = "车位编号")
    @ApiModelProperty(value = "车位编号")
    private String parkingNum;

    /** 车位状态 */
    @Excel(name = "车位状态")
    @ApiModelProperty(value = "车位状态")
    private String state;

    /** 园区编号 */
    @Excel(name = "园区编号")
    @ApiModelProperty(value = "园区编号")
    private String parkNum;

    /** 楼栋编号 */
    @Excel(name = "楼栋编号")
    @ApiModelProperty(value = "楼栋编号")
    private String buildingNum;

    /** 单元编号 */
    @Excel(name = "单元编号")
    @ApiModelProperty(value = "单元编号")
    private String unitNum;

    /** 房源编号 */
    @Excel(name = "房源编号")
    @ApiModelProperty(value = "房源编号")
    private String roomNum;


}
